<?php

namespace app\api\controller;

use app\api\logic\book\BookSet as BookSetLogic;

class Book
{
    use \app\common\traits\Controller;

    public function __construct(
        BookSetLogic $bookSetLogic
    )
    {
        $this->bookSetLogic = $bookSetLogic;
    }
    public function getByUserId()
    {
        return self::httpResp($this->bookSetLogic->getByUserId());
    }
}
